<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			console.log(Math.PI);
			console.log(Math.max(1, 3, 2));
			console.log(Math.pow(6, 2)); //次幂
			// console.log(6 ** 6);
			console.log(Math.round(3.1415926));
			console.log(Math.floor(1.9)); //地板 1  向下取整
			console.log(Math.ceil(2.1)); //天花板 3 向上取整

			//伪随机数在范围从0到小于1
			for (var i = 0; i < 10; i++) {
				console.log(Math.random());
			}
		</script>
	</head>
	<body>
	</body>
</html>
